<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>{$headConf['title']}</title>
    <!--描述和摘要-->
    <meta name="Description" content=""/>
    <meta name="Keywords" content=""/>
    <!--载入公共模板-->
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/org/bootstrap-3.3.5-dist/css/bootstrap.min.css"/>
    <script src="__STATIC__/index/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="__STATIC__/index/org/bootstrap-3.3.5-dist/js/bootstrap.min.js" type="text/javascript"
            charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/backTop.css"/>
    <script src="__STATIC__/ueditor1_4_3_3/ueditor.parse.min.js"></script>
    <style>
         .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
            z-index: 2;
            color: #fff;
            cursor: default;
            background-color: #8cbfb8;
            border-color: #8cbfb8;
        }
    </style>
</head>
<body>
<script src="__STATIC__/admin/canvas.js"></script>
<header>
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <h1>{$_webset['TITLE']}</h1>
            </div>
        </div>
    </div>
</header>
<nav role="navigation" class="navbar navbar-default">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">

                <div class="navbar-header">

                    <button type="button" class="navbar-toggle" data-toggle="collapse"
                            data-target="#example-navbar-collapse">

                        <span class="sr-only">切换导航</span>

                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>


                <div class="collapse navbar-collapse" id="example-navbar-collapse">
                    <ul class="_menu">
                        <li {if condition="!input('param.')" } class="_active" {/if}>
                        <a href="__ROOT__/index.html">首页</a>
                        </li>
                        {foreach name='_cateData' item='vo'}
                        <li {if condition="input('param.cate_id')==$vo['cate_id']" } class="_active" {/if}>
                        <a href="{:url('index/lists/index',['cate_id'=>$vo['cate_id']])}">{$vo['cate_name']}</a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</nav>
<section class="content">
    <div class="container">
        <div class="row">
            <!--标签规定文档的主要内容main-->
            <main class="col-md-9">
                {block name='content'}{/block}
            </main>
            <aside class="col-md-3 hidden-sm hidden-xs" style="opacity: 0.8">

                <div class="input-group" style="margin-bottom: 30px;">
                    <input type="text" class="form-control" id="search" placeholder="相关标题">
                    <span class="input-group-addon" onclick="search()">
                        <span class="glyphicon glyphicon-search"></span>
                    </span>
                </div>

                <div class="_widget">
                    <h4>公告</h4>
                    <div class="_info">
                        {if condition="array_key_exists('INFORM',$_webset) && $_webset['INFORM'] != ''"}
                        <p>{$_webset['INFORM']}</p>
                        {else/}
                        <p>...</p>
                        {/if}
                    </div>
                </div>

                <div class="_widget" style="opacity: 0.8">
                    <h4>标签</h4>
                    <div class="_tag">
                        {foreach name='_tagData' item='vo'}
                        <a href="{:url('index/lists/index',['tid'=>$vo['tid']])}">{$vo['tname']}</a>
                        {/foreach}
                    </div>
                </div>
            </aside>
        </div>
    </div>
</section>
<div class="footer_bottom">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                {if condition="array_key_exists('ADMIN_EMAIL',$_webset) && $_webset['ADMIN_EMAIL'] != ''"}
                <a href="">{$_webset['ADMIN_EMAIL']}</a>
                {else/}
                <a href="">1161847041@qq.com</a>
                {/if}
                &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                {if condition="array_key_exists('WEB_ICP_NUMBER',$_webset) && $_webset['WEB_ICP_NUMBER'] != ''"}
                <a href="">{$_webset['WEB_ICP_NUMBER']}</a>
                {else/}
                <a href="">Copyright © ...</a>
                {/if}
                &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
                <a href="http://www.lnmp.org">lnmp支持</a>
            </div>
        </div>
    </div>
</div>
<!--返回顶部自己写的插件-->
<script src="__STATIC__/index/js/backTop.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    $(function () {
        //插件使用
        $('.back_top').backTop({right: 30});
    })
</script>
<script type="text/javascript">

    $('#search').bind('keypress', function (event) {
        if (event.keyCode == 13) {
            search();
        }
    })

    function search() {
        var searchName = $('#search').val()
        window.location.href = "index/Search/index?searchName=" + searchName;

    }
</script>
<div class="back_top hidden-xs hidden-md">
    <i class="glyphicon glyphicon-menu-up"></i>
</div>
</body>
</html>